package com.pazl.check.api.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @ClassName FaceVerdictDto
 * @Description TODO
 * @Author 陈家辉
 * @Date 2020/5/18 上午 10:45
 * @Version 1.0
 **/
public class FaceVerdictDto implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -2594641113469714180L;
    @NotEmpty(message = "reason missing.")
    private String reason;// 理由
    @NotEmpty(message = "verdict missing.")
    @Pattern(regexp="1|2|3",message="verdict error,only 【1|2|3】")
    private String verdict;// 面签结论 通过：1 拒绝：2 退回合同确认：3

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getVerdict() {
        return verdict;
    }

    public void setVerdict(String verdict) {
        this.verdict = verdict;
    }
}
